package com.un.ebs.purchase.domain;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (PurchaseSummaryItemExt)表实体类
 *
 * @author liubo
 * @since 2020-08-28 13:12:03
 */
@Data
@Component
@TableName("v_purchase_summary_item_ext")
@SuppressWarnings("serial")
public class PurchaseSummaryItemExt extends Model<PurchaseSummaryItemExt> {


    @DbField(name = "sku_id", length = 40, precision = 0)
    private String skuId;

    @DbField(name = "sku_code", length = 100, precision = 0)
    private String skuCode;

    @DbField(name = "name_as", length = 2100, precision = 0)
    private String nameAs;

    @DbField(name = "price", length = 18, precision = 4)
    private Double price;

    @DbField(name = "order_qty", length = 38, precision = 4)
    private Double orderQty;

    @DbField(name = "order_money", length = 38, precision = 6)
    private Double orderMoney;

    @DbField(name = "deliver_qty", length = 38, precision = 4)
    private Double deliverQty;

    @DbField(name = "deliver_money", length = 38, precision = 6)
    private Double deliverMoney;

    @DbField(name = "diff_qty", length = 38, precision = 4)
    private Double diffQty;

    @DbField(name = "diff_money", length = 38, precision = 6)
    private Double diffMoney;

    @DbField(name = "supplier_ent_id", length = 40, precision = 0)
    private String supplierEntId;

    @DbField(name = "supplier_ent_name", length = 100, precision = 0)
    private String supplierEntName;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;


}